<template>
  <template v-if="! $empty(state.src)">
    <x-video-flv :url="state.src"></x-video-flv>
  </template>
</template>

<script setup name="x-video">
import { reactive } from 'vue';
const state = reactive({
  src: "",
})

const play = (url) => {
  state.src = url;
}

defineExpose({play})

</script>

<style scoped></style>
